package com.ruoyi.checkingin.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.e_checkingin.EActuallyWage;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 实发工资Service接口
 *
 * @author JYW
 * @date 2024-03-04
 */
public interface IEActuallyWageService
{
    /**
     * 查询实发工资
     *
     * @param id 实发工资主键
     * @return 实发工资
     */
    public EActuallyWage selectEActuallyWageById(Long id);

    /**
     * 查询实发工资列表
     *
     * @param eActuallyWage 实发工资
     * @return 实发工资集合
     */
    public List<EActuallyWage> selectEActuallyWageList(EActuallyWage eActuallyWage);

    /**
     * 新增实发工资
     *
     * @return 结果
     */
    public int insertEActuallyWage();

    /**
     * 修改实发工资
     *
     * @param eActuallyWage 实发工资
     * @return 结果
     */
    public int updateEActuallyWage(EActuallyWage eActuallyWage);

    /**
     * 批量删除实发工资
     *
     * @param ids 需要删除的实发工资主键集合
     * @return 结果
     */
    public int deleteEActuallyWageByIds(Long[] ids);

    /**
     * 删除实发工资信息
     *
     * @param id 实发工资主键
     * @return 结果
     */
    public int deleteEActuallyWageById(Long id);

    /**
     * 按月查看公司当月工资发放详情
     * @param date
     * @return
     */
    public Map<String,Object> allPayOff(String date);
}
